package com.bwda.dsrs.filecenter.domain.form.registerkey;

import com.bwda.dsrs.base.centerbase.form.BaseQueryForm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
/**
 * @author Administrator
 */
@Data
@ApiModel(description = "秘钥注册管理")
public class RegisterKeyQueryForm extends BaseQueryForm {

	@ApiModelProperty(value = "注册秘钥id")
	private Integer registerKeyId;

	@ApiModelProperty(value = "注册秘钥id列表")
	private List<Integer> registerKeyIdList;

	@ApiModelProperty(value = "注册秘钥名称")
	private String registerKeyName;

	@ApiModelProperty(value = "算法(SM4,AES,3DES,RSA,SM2)")
	private String algorithm;

	@ApiModelProperty(value = "场景编号(默认0全部，以系统编号开头，不可修改)")
	private String sceneCode;

	@ApiModelProperty(value = "场景名称")
	private String sceneName;

	@ApiModelProperty(value = "应用系统ID")
	private Integer appId;

	@ApiModelProperty(value = "秘钥规则ID")
	private Integer keyRuleId;

	@ApiModelProperty(value = "有效期天数0始终有效")
	private Integer validdays;

	@ApiModelProperty(value = "秘钥提前提醒天数")
	private Integer warnDays;

	@ApiModelProperty(value = "负责人编号")
	private String respUserCode;

	@ApiModelProperty(value = "创建人")
	private String createUserCode;

	@ApiModelProperty(value = "生成的秘钥")
	private String secretKey;

	@ApiModelProperty(value = "版本")
	private String currentVersion;

	@ApiModelProperty(value = "0未删除 1已删除")
	private Integer delFlag;

	@ApiModelProperty(value = "最小长度")
	private Integer minLength;

	@ApiModelProperty(value = "最大长度")
	private Integer maxLength;

	@ApiModelProperty(value = "正则表达式")
	private String regularExpression;

	@ApiModelProperty(value = "是否支持模糊搜索 0：不支持 1：支持")
	private Integer ifSearch;

	@ApiModelProperty(value = "是否更新秘钥（0：不跟新 1：更新）")
	private Integer ifUpdateKey;

	/**
	 * 秘钥—场景标识
	 */
	@ApiModelProperty(value = "秘钥—场景标识")
	private String keySceneCode;
}